package ch4.ex14;

import static ch4.print.Print.*;

class Go{
	static String s1 = "run";
	static String s2, s3;
	static{
		s2 = "drive car";
		s3 = "fly plane";
		println("s2 & s3 initialized");
	}
	static void how(){
		println(s1 + " or " + s2 + " or " + s3);
	}
	Go(){
		println("Go()");
	}
}

public class ExplicitStaticEx {
	public static void main(String[] args){
		println("Inside main()");
		Go.how();
		println("Go.s1: " + Go.s1);
	}
	static Go s1 = new Go();
	static Go s2 = new Go();
}
